import {getToken,setToken} from '@/utils/cookie'
const state = {
  token:getToken() || '',
};
const mutations = {
  SET_TOKEN(state,value){
    state.token = value;
    setToken(value);
  }
};
const actions = {};
export default {
  state,
  mutations,
  actions
};
